package mspbots.cw.client.core.client;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author AlexBob
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClientProperties implements Serializable {

    @NotEmpty(message = "Params [appId] can not be empty")
    private String appId;

    @NotEmpty(message = "Params [site] can not be empty")
    private String site;

    @NotEmpty(message = "Params [publicKey] can not be empty")
    private String publicKey;

    @NotEmpty(message = "Params [privateKey] can not be empty")
    private String privateKey;

    @NotNull(message = "Params [tenantId] can not be empty")
    private Long tenantId;

}
